#ifndef ITEM_STORE_H_INCLUDED_56623476
#define ITEM_STORE_H_INCLUDED_56623476
//-----------------------------------------------------------------------------
// Copyright (c) 2011 David Waby
// Initially created on 11/11/2011
//-----------------------------------------------------------------------------

#include "IJsonSerialisable.h"
class Item;
class InventoryItem;

//-----------------------------------------------------------------------------
class ItemStore : public IJsonSerialisable
{
public:
									ItemStore();
	virtual							~ItemStore();

	InventoryItem *					CreateDefaultInventoryItemFromTemplate(int const i_itemID) const;

	virtual void					Serialise(Json::Value * o_root) const;
	virtual void					Deserialise(Json::Value const * i_root);

protected:

private:

	int								m_noofAllItems;
	Item **							m_allItems;

									ItemStore(const ItemStore &rhs);
									ItemStore& operator = (const ItemStore &rhs);
};


//-----------------------------------------------------------------------------
#endif // ITEM_STORE_H_INCLUDED_56623476
